﻿<phone:PhoneApplicationPage 
    x:Class="QuickTasks.AddLinks"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:my="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI"  
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="728" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush ImageSource="/QuickTaskBgImages/BackGround1.png"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Orientation="Horizontal"  Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>
        
        <!--ContentPanel - place additional content here-->
        <ScrollViewer Grid.Row="1" Margin="12,0,12,0" >
            <Grid x:Name="ContentPanel">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <StackPanel Orientation="Horizontal" Grid.Row="0">
                    <TextBlock Text="Title" FontSize="28" Width="150"  Margin="10,0,0,0"/>
                    <TextBlock Text="Required" Foreground="Red"  FontSize="28" x:Name="tblkNameValidation" Visibility="Collapsed"/>
                </StackPanel>
                <TextBox x:Name="tbxName" Grid.Row="1"  InputScope="Text"/>
                <StackPanel Orientation="Horizontal" Grid.Row="2">
                    <TextBlock Text="URL 1" Grid.Row="2"  FontSize="28" Width="150" Margin="10,0,0,0"/>
                    <TextBlock Text="Required" FontSize="28" Foreground="Red" x:Name="tblkLinkValidation" Visibility="Collapsed"/>
                </StackPanel>
                <TextBox x:Name="tbxLink1"  Text="" Grid.Row="3" InputScope="EmailNameOrAddress"/>
                <TextBlock Text="URL 2" Grid.Row="4"  FontSize="28" Margin="10,0,0,0"/>
                <TextBox x:Name="tbxLink2" Grid.Row="5"  InputScope="EmailNameOrAddress"/>
                <TextBlock Text="URL 3" Grid.Row="6"  FontSize="28" Margin="10,0,0,0"/>
                <TextBox x:Name="tbxLink3" Grid.Row="7"  InputScope="EmailNameOrAddress"/>
                <TextBlock Text="URL 4" Grid.Row="8"  FontSize="28" Margin="10,0,0,0"/>
                <TextBox x:Name="tbxLink4" Grid.Row="9"  InputScope="EmailNameOrAddress"/>
                <TextBlock Text="URL 5" Grid.Row="10"  FontSize="28" Margin="10,0,0,0"/>
                <TextBox x:Name="tbxLink5" Grid.Row="11"  InputScope="EmailNameOrAddress"/>
                <TextBlock Text="URL 6" Grid.Row="12"  FontSize="28" Margin="10,0,0,0"/>
                <TextBox x:Name="tbxLink6" Grid.Row="13"  InputScope="EmailNameOrAddress"/>
               
            </Grid>
        </ScrollViewer>
        <StackPanel Name="adstackpanel" Grid.Row="2" VerticalAlignment="Bottom" Margin="-15,32,0,0"></StackPanel>

    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar.save.rest.png" Text="save" Click="ApplicationBarsaveButton_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>
